package com.ruoyi.buss.customer.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 客户变更记录对象 DATA_CUSTOMER_RECORD
 * 
 * @author sxy
 * @date 2021-07-16
 */
public class DataCustomerRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 修改ID,相同的ID表示为同一条修改记录 */
    @Excel(name = "修改ID,相同的ID表示为同一条修改记录")
    private String record;

    /** 客户身份证 */
    @Excel(name = "客户身份证")
    private String idCard;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String cunstomerName;

    /** 修改的属性编码 */
    @Excel(name = "修改的属性编码")
    private String attribute;

    /** 变更前字段 */
    @Excel(name = "变更前字段")
    private String oldValue;

    /** 变更后的值 */
    @Excel(name = "变更后的值")
    private String newValue;

    /** 操作人ID */
    @Excel(name = "操作人ID")
    private String userId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 1存量2商户3村居4专业市场5专业市场 */
    @Excel(name = "1存量2商户3村居4专业市场5专业市场")
    private String type;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRecord(String record) 
    {
        this.record = record;
    }

    public String getRecord() 
    {
        return record;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setCunstomerName(String cunstomerName) 
    {
        this.cunstomerName = cunstomerName;
    }

    public String getCunstomerName() 
    {
        return cunstomerName;
    }
    public void setAttribute(String attribute) 
    {
        this.attribute = attribute;
    }

    public String getAttribute() 
    {
        return attribute;
    }
    public void setOldValue(String oldValue) 
    {
        this.oldValue = oldValue;
    }

    public String getOldValue() 
    {
        return oldValue;
    }
    public void setNewValue(String newValue) 
    {
        this.newValue = newValue;
    }

    public String getNewValue() 
    {
        return newValue;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("record", getRecord())
            .append("idCard", getIdCard())
            .append("cunstomerName", getCunstomerName())
            .append("attribute", getAttribute())
            .append("oldValue", getOldValue())
            .append("newValue", getNewValue())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("type", getType())
            .toString();
    }
}
